﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Data;

namespace Cashier_Interface
{
    public interface IPrinter
    {
        /// <summary>
        /// 打印所有行数据
        /// </summary>
        /// <returns></returns>
        DataGridView GetAllRows();

        /// <summary>
        /// 打印选定数据
        /// </summary>
        /// <returns></returns>
        DataGridView GetSelectedRows();

        /// <summary>
        /// 隐藏列
        /// </summary>
        /// <param name="columnname"></param>
        void VisibleColumn(String columnname);
    }
}
